from django.db import models

# Create your models here.


class Template(models.Model):

    template_name = models.CharField(max_length=100, unique=True)
    project_name = models.CharField(max_length=100)
    create_time = models.DateTimeField()
    update_time = models.DateTimeField(null=True)
    remarks = models.CharField(max_length=500)
    creator = models.CharField(max_length=100)
    page_name = models.CharField(max_length=200,null=True)
    check_the_result = models.CharField(max_length=100, null=True)
    module_name = models.CharField(max_length=200, null=True)

    def __str__(self):
        return self.template_name
